﻿Public Class ViewTableEditor

    Private Sub DGrid_AutoGeneratingColumn(sender As Object, e As Windows.Controls.DataGridAutoGeneratingColumnEventArgs) Handles DGrid.AutoGeneratingColumn
        If e.PropertyName.Contains("Relation") Or e.Column.Header.ToString().Contains("Relation") Then
            e.Cancel = True
        End If
    End Sub
End Class
